package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LOperation
 * @date 2021.07.06 10:21
 * @describe 实操表
 */
@TableName("l_operation")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LOperation对象", description="实操表")
public class LOperation implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "operation_id", type = IdType.AUTO)
    private Integer operationId;

    @ApiModelProperty(value = "竞赛试卷id")
    @TableField("competition_id")
    private Integer competitionId;

    @TableField("operation_user_id")
    private Integer operationUserId;

    @TableField("operation_name")
    private String operationName;

    @TableField("operation_url")
    private String operationUrl;

    @TableField("praise_count")
    private Integer praiseCount;

    @TableField("create_time")
    private Date createTime;

    @TableField(exist = false)
    private Integer commentCount;

    @TableField(exist = false)
    private Integer operationScore;

    @TableField(exist = false)
    private String competitionSort;

    @TableField(exist = false)
    private List<LOperationScore> operationScoreList;

    @TableField(exist = false)
    private String operationUserName;

    @TableField(exist = false)
    private List<LComment> commentList;

    public List<LComment> getCommentList() {
        return commentList;
    }

    public void setCommentList(List<LComment> commentList) {
        this.commentList = commentList;
    }

    public String getOperationUserName() {
        return operationUserName;
    }

    public void setOperationUserName(String operationUserName) {
        this.operationUserName = operationUserName;
    }

    public String getCompetitionSort() {
        return competitionSort;
    }

    public void setCompetitionSort(String competitionSort) {
        this.competitionSort = competitionSort;
    }

    public List<LOperationScore> getOperationScoreList() {
        return operationScoreList;
    }

    public void setOperationScoreList(List<LOperationScore> operationScoreList) {
        this.operationScoreList = operationScoreList;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public Integer getOperationScore() {
        return operationScore;
    }

    public void setOperationScore(Integer operationScore) {
        this.operationScore = operationScore;
    }

    public Integer getOperationId() {
        return operationId;
    }

    public void setOperationId(Integer operationId) {
        this.operationId = operationId;
    }

    public Integer getCompetitionId() {
        return competitionId;
    }

    public void setCompetitionId(Integer competitionId) {
        this.competitionId = competitionId;
    }

    public Integer getOperationUserId() {
        return operationUserId;
    }

    public void setOperationUserId(Integer operationUserId) {
        this.operationUserId = operationUserId;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getOperationUrl() {
        return operationUrl;
    }

    public void setOperationUrl(String operationUrl) {
        this.operationUrl = operationUrl;
    }

    public Integer getPraiseCount() {
        return praiseCount;
    }

    public void setPraiseCount(Integer praiseCount) {
        this.praiseCount = praiseCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
